<html>
<body>
Reports collection API method calls that can be simplified using <code>SequencedCollection</code> methods.
<p>The following conversions are supported:</p>
<ul>
  <li><code>list.add(0, element)</code> &rarr; <code>list.addFirst(element);</code></li>
  <li><code>list.get(0)</code> &rarr; <code>list.getFirst();</code></li>
  <li><code>list.get(list.size() - 1)</code> &rarr; <code>list.getLast();</code></li>
  <li><code>list.remove(0)</code> &rarr; <code>list.removeFirst();</code></li>
  <li><code>list.remove(list.size() - 1)</code> &rarr; <code>list.removeLast();</code></li>
  <li><code>collection.iterator().next()</code> &rarr; <code>collection.getFirst();</code></li>
</ul>
<!-- tooltip end -->
<p><small>New in 2023.3</small></p>
</body>
</html>